import { request } from '@pkg/request/src';

export enum Api {
  page = '/checkrecord/page',
  list = '/checkrecord/list',
  get = '/checkrecord/get',
  add = '/checkrecord/save',
  update = '/checkrecord/update',
  remove = '/checkrecord/remove',
}

export const page = params =>
  request.get(
    { url: Api.page, params },
    {
      errorMessageMode: 'none',
      successMessageMode: 'none',
    },
  );
